package com.atguigu.springcloud.dao;

import com.atguigu.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

@Mapper
public interface PaymentDao {
    //写
    int create(Payment payment);

    //读
    Payment getPaymentById(@RequestParam("id") Long id);


}
